package com.lcxw.hxzbapi.service;

import javax.annotation.Resource;
import org.springframework.stereotype.Component;
import com.lcxw.hxzbapi.dao.mapper.CoinMapper;

@Component
public class CoinService {

    @Resource
    CoinMapper coinMapper;

    /**
     * 获取虚拟货币兑换率
     */
    public int getRatio(){
        return coinMapper.getRatio();
    }

}
